package com.aode.sovo_miniprogram.vo;

public enum  ResultCode {
    SUCCESS(0, "success"),
    FAIL(-1, "fail"),
    ExistSecondClass(201,"第二分类"),
    ExistDetail(202,"服务详细"),

    USER_UNLOGIN(10001, "用户未登录");



    private int code;
    private String msg;

    ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
